home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Spawn Figure Collection
/
spawn collection cd.iso
/
movies
/
collection.dir
/
00008_Script_ÉeÉLÉXÉgä÷åW
< prev
next >
Wrap
Text File
|
1997-12-23
|
3KB
|
120 lines
-- ╔e╔L╔X╔gΩ╞σ`Σ≈σW
on cutHead tmp
global gTextResult
set gTextResult to ""
set l to length(tmp) - 1
repeat with t = 4 to l
set gTextResult to gTextResult & char t of tmp
end repeat
return gTextResult
end
--on WhatThis txt
-- -- **:╟├∞ç≤e╟⌐╟┴
-- -- ╔V╔Σ┼[╔Y╟╗╟├╟⌐
-- -- ╔^╔C╔g╔π╟╗╟├╟⌐
-- -- ╔O╔π┼[╔v╔f┼[╔^╟╗╟├╟⌐╟¥φÅ╟╫╟╚
-- global gTextResult
-- set gTextResult = ""
-- global gResult
-- set gResult = 0
--
-- if (chartonum(char 2 of txt) = 26)then
-- set gResult to 3
-- return
-- end if
--
-- set n to (char 1 of txt)& (char 2 of txt)
-- case n of
-- -- Series
-- "SR":
-- -- Title
-- "TI":
-- -- BmpName
-- "BM":
-- -- Flag
-- "FL":
-- repeat with t = 3 to count(txt)
-- set gTextResult to gTextResult & char t of txt
-- end repeat
-- return gTextResult
--
-- -- Comment
-- "CM":
--
--
-- end case
--end WhatThis
on DevideText txt
-- ╔Σ╔^┼[╔∞╟Ö╟å╟╚╟╨╟▒╟╬╟╝╔e╔L╔X╔g╟¥∩Ö╟╪╟╚┼B
-- δOε║∩ε∩Ö╟ÖgTextResult┼AΘc╟╦∩ε∩Ö╟ÖgResult╟àΘ╛╟ï╟╚
global gResult
global gTextResult
set gResult to ""
set gTextResult to ""
set flag to 0
set l to length(txt)
repeat with t = 1 to l
set c = char t of txt
if (c = RETURN)and (flag <>1) then
set flag = 1
next repeat
end if
if flag = 1 then
set gResult = gResult & c
else
set gTextResult = gTextResult & c
end if
end repeat
return gTextResult
end
--on DelRet txt
-- global gTextResult
-- set gTextResult = ""
-- repeat with t = 1 to length(txt)
-- set c = char t of txt
-- -- 10 (0x0a) ╟Ö≤]∩Ö╟╗╟├╟╝╔J╔b╔g╟▌╟╚
-- -- 26 (0x1a) ╟╒╔t╔@╔C╔π╔G╔∞╔h╟╗╟├╟╝╔J╔b╔g╟▌╟╚
-- if (c <> numtochar(10)) and (c <> numtochar(26)) then
-- set gTextResult = gTextResult & c
-- end if
-- end repeat
-- return gTextResult
--end
--on CheckReturn txt
-- -- ╔Σ╔^┼[╔∞╟├Ωε╟¥φÅ╟╫╟â∩æ╟▌
-- global gTextResult
-- global gResult
-- set gResult to 0
-- repeat with t = 1 to length(txt)
-- set c = char t of txt
-- if(c = RETURN) then
-- set gResult to gResult + 1
-- end if
-- end repeat
-- return gResult
--end
on CollectTitle txt
set r to 0
repeat with t = 1 to length(txt)
set c = char t of txt
if( c=RETURN) then
set r to r+1
end if
end repeat
case r of
0:
set txt to txt & RETURN & RETURN
1:
set txt to txt & RETURN
end case
return txt
end